/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * FrmEjerccios.java
 *
 * Created on 03-12-2014, 10:56:26 AM
 */
package Presentacion;

/**
 *
 * @author Estudiante
 */
public class FrmEjerccios extends javax.swing.JFrame {

    /** Creates new form FrmEjerccios */
    public FrmEjerccios() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        btnEntero = new javax.swing.JButton();
        btnvector = new javax.swing.JButton();
        btnConjunto = new javax.swing.JButton();
        btnLista = new javax.swing.JButton();
        btntablademo = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        btnEntero.setText("entero");
        btnEntero.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnEnteroActionPerformed(evt);
            }
        });

        btnvector.setText("Vector");
        btnvector.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnvectorActionPerformed(evt);
            }
        });

        btnConjunto.setText("Conjunto");
        btnConjunto.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnConjuntoActionPerformed(evt);
            }
        });

        btnLista.setText("Lista");
        btnLista.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnListaActionPerformed(evt);
            }
        });

        btntablademo.setText("jButton1");
        btntablademo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btntablademoActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addComponent(btntablademo, javax.swing.GroupLayout.DEFAULT_SIZE, 124, Short.MAX_VALUE)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addComponent(btnLista, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(btnConjunto, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(btnvector, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(btnEntero, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 124, Short.MAX_VALUE)))
                .addContainerGap(266, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(44, 44, 44)
                .addComponent(btnEntero)
                .addGap(18, 18, 18)
                .addComponent(btnvector)
                .addGap(18, 18, 18)
                .addComponent(btnConjunto)
                .addGap(18, 18, 18)
                .addComponent(btnLista)
                .addGap(36, 36, 36)
                .addComponent(btntablademo)
                .addContainerGap(51, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void btnEnteroActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnEnteroActionPerformed
        // TODO add your handling code here:
        FrmPresentacion f=new FrmPresentacion();
f.setVisible(true);
    }//GEN-LAST:event_btnEnteroActionPerformed

    private void btnvectorActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnvectorActionPerformed
        // TODO add your handling code here:
        FrmVector f1=new FrmVector();
         f1.setVisible(true);
    }//GEN-LAST:event_btnvectorActionPerformed

    private void btnConjuntoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnConjuntoActionPerformed
        // TODO add your handling code here:
        FrmConjunto f1=new FrmConjunto();
         f1.setVisible(true);
    }//GEN-LAST:event_btnConjuntoActionPerformed

    private void btnListaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnListaActionPerformed
        // TODO add your handling code here:
          FrmCliente f=new FrmCliente();
          f.setVisible(true);
    }//GEN-LAST:event_btnListaActionPerformed

    private void btntablademoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btntablademoActionPerformed
        // TODO add your handling code here:
         TableDemo f=new TableDemo();
          f.setVisible(true);
    }//GEN-LAST:event_btntablademoActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new FrmEjerccios().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnConjunto;
    private javax.swing.JButton btnEntero;
    private javax.swing.JButton btnLista;
    private javax.swing.JButton btntablademo;
    private javax.swing.JButton btnvector;
    // End of variables declaration//GEN-END:variables
}
